let  l =  require('lodash');
console.log(l.chunk(['a', 'b', 'c', 'd'], 2)); 